<template>
	<view>

		<searchtu :searchLocation="searchLocation"></searchtu>
    </view>



</template>

<script>
	import searchtu from "@/components/searchtu.vue"
	export default {
		

		data() {
			return {
				searchLocation:"1111"
				
			}
		},
		methods: {

		}
		,
		
		onLoad: function (option) { //option为object类型，会序列化上个页面传递的参数
			console.log(option.searchLocation); //打印出上个页面传递的参数。
			this.searchLocation=option.searchLocation
			console.log(this.searchLocation); 
		},
		components: {
			searchtu
		}
	}
</script>

<style>
</style>
